package com.chen.business.system.businesssystem.service;

import com.chen.order.system.ordersystem.entity.OrderEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 业务处理类
 * @author :master
 */

@Service
@FeignClient(value = "order-system")
public interface OrderFeignServiceImpl {

    /**
     * 业务处理类
     * @param entity 参数
     * @return 反回
     */
    @RequestMapping("/order/addOrder")
    public String addOrder(@RequestBody OrderEntity entity);


    /**
     * 修改
     * @param entity 参数
     * @return 返回
     */
    @RequestMapping("/order/updateOrder")
    public String updateOrder(@RequestBody OrderEntity entity);

}
